package com.yhsimon.annotation;

import java.lang.annotation.*;

import static java.lang.annotation.ElementType.TYPE;

//测试元注解
//@MyAnnotation
public class Test02 {
    @MyAnnotation
    public void test(){

    }
}

//@Target(value = {METHOD,TYPE})
@Target(value = ElementType.METHOD)
@Retention(value = RetentionPolicy.RUNTIME)
@Documented  //是否将我们的注解生成在javadoc文件中
@Inherited
@interface MyAnnotation{

}